| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

MapResult.h
1 // MapResult.h
3 //
5
6 namespace nkGraphics
7 {
11 struct MapResult
12 {
13 unsigned char* _data = nullptr ;
14
15 unsigned int _rowPitch = 0 ;
16 unsigned int _depthPitch = 0 ;
17
18 FORMAT _format = UNKNOWN_FORMAT ;
19 } ;
20 }
nkGraphics::MapResult
Contains all information of the result of a map operation on a resource.
Definition: MapResult.h:12
nkGraphics::MapResult::_depthPitch
unsigned int _depthPitch
Information about memory layout : the byte size of a depth slice, if a texture.
Definition: MapResult.h:16
nkGraphics::MapResult::_data
unsigned char * _data
Pointer to mapped data.
Definition: MapResult.h:13
nkGraphics::MapResult::_format
FORMAT _format
Format of the mapped data, if from a texture. Under some conditions, format after a map operation can...
Definition: MapResult.h:18
nkGraphics::MapResult::_rowPitch
unsigned int _rowPitch
Information about memory layout : the byte size of a row, if a texture.
Definition: MapResult.h:15
nkGraphics::FORMAT
FORMAT
Available formats for resources.
Definition: DxDefinesWrapper.h:13
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7